﻿@model EmrDatastructure.EmrDemographicSearch

@{
    ViewBag.Title = "Home/Search";
}

<h2>Home/Search</h2>


@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>EmrDemographicSearch</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.orLastName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.orLastName)
            @Html.ValidationMessageFor(model => model.orLastName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.orFirstName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.orFirstName)
            @Html.ValidationMessageFor(model => model.orFirstName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.orDateOfBirth)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.orDateOfBirth)
            @Html.ValidationMessageFor(model => model.orDateOfBirth)
        </div>

        <p>
            <input type="submit" value="Search" />
        </p>
    </fieldset>
}


